package com.ruoyi.business.mapper.koc;

import com.ruoyi.business.domain.koc.TbUser;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Select;

/**
 * 用户
 *
 * @author chenran
 */
public interface TbUserMapper extends BaseMapperPlus<TbUserMapper, TbUser, TbUser> {

    @Select("SELECT * FROM tb_user WHERE id = #{id} FOR UPDATE")
    TbUser selectByIdForUpdate(Long id);

}
